
<!DOCTYPE html>
<html lang="en"  xmlns:sec="http://www.thymeleaf.org/extras/spring-security">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<style>
    div{
        text-align: center;
    }
</style>
<body>
<div class="main">
    <form class="login-form"  action="login" method="post" novalidate >
        &lt;!&ndash;输入框&ndash;&gt;
        <div class="input-content">
            &lt;!&ndash;autoFocus&ndash;&gt;
            <div>
                <label for="username" >用户名:</label><br>
                <input id="username" type="text" autocomplete="off"
                       placeholder="用户名" name="username" required/>
            </div>
            <div >
                <label for="password" >密码:</label><br>
                <input id="password" type="password"
                       autocomplete="off" placeholder="登录密码" name="password" required maxlength="32"/>
            </div>
        </div>
        &lt;!&ndash;登入按钮&ndash;&gt;
        <div >
            <button type="submit" >登录</button>
            <a href="/account/register" style="margin: 0 5px">没有账号？注册一个！</a>
        </div>
    </form>
</div>
</body>

</html>


